package com.aikg.kgrag_java.utils;

import lombok.Data;

import java.util.List;

/**
 * @Author tfan
 * @Description
 * @Date 2024/12/31 11:52
 **/
@Data
public class OcrResult {
    private List<TextBlock> textBlocks;
    private String fullText;
    private long processingTime;

    @Data
    public static class TextBlock {
        private String text;
        private double confidence;
        private int[] coordinates;
    }
}
